// 这里是按需导入
// request2并请求头没有携带token
import { request2 } from '@/utils/request'
// console.log(request2)
// console.log(request1)
export const loginCodeAPI = (data) => {
  return request2({
    url: '/au/code',
    method: 'post',
    data: {
      mobile: data
    }
  })
}
export const loginAPI = (data) => {
  return request2({
    url: '/au/login',
    method: 'post',
    data
  })
}
